package com.xy.annotaion.handler.kotlin.compiler.demo1

abstract class ASTree {

    abstract fun location(): String?
    abstract fun child(i: Int): ASTree
    abstract fun numChildren(): Int
    abstract fun children(): Iterator<ASTree>
    fun iterator() = children()

}
